package com.imay.live.model;

import java.util.List;

/**
 * Created by Administrator on 2017/7/27 0027.
 */

public class RankingGameModel {

    /**
     * rankType : FruitSend
     * rankName : 水果粉丝榜
     * users : [{"user":{"uid":10000,"roomId":120836,"nick":"囚~恶人","imgHead":"http://odfjym91z.bkt.clouddn.com/rbt/m1121.jpg","sex":1,"userLevel":1,"liveLevel":1,"UserLv":1,"LiveLv":1},"value":10000,"rank":1},{"user":{"uid":10001,"roomId":120837,"nick":"绝对嚣张坚野","imgHead":"http://odfjym91z.bkt.clouddn.com/rbt/w0585.jpg","sex":1,"userLevel":1,"liveLevel":1,"UserLv":1,"LiveLv":1},"value":1000,"rank":2},{"user":{"uid":10002,"roomId":120838,"nick":"Kis`哈","imgHead":"http://odfjym91z.bkt.clouddn.com/rbt/m3804.jpg","sex":1,"userLevel":1,"liveLevel":1,"UserLv":1,"LiveLv":1},"value":100,"rank":3}]
     */

    private String rankType;
    private String rankName;
    private List<UserRankMode> users;

    public String getRankType() {
        return rankType;
    }

    public void setRankType(String rankType) {
        this.rankType = rankType;
    }

    public String getRankName() {
        return rankName;
    }

    public void setRankName(String rankName) {
        this.rankName = rankName;
    }

    public List<UserRankMode> getUsers() {
        return users;
    }

    public void setUsers(List<UserRankMode> users) {
        this.users = users;
    }

    public static class UserRankMode {

        /**
         * user : {"uid":4709,"roomId":115261,"nick":"在一起时总是那么","imgHead":"http://odfjym91z.bkt.clouddn.com/rbt/w4511.jpg","sex":1,"userLevel":33,"liveLevel":41,"vip":0,"city":"","myFollow":false,"isLive":0,"liveType":0,"UserLv":33,"LiveLv":41,"LargeVipStatus":0,"LiveStatus":0}
         * value : 842837291577
         * rank : 0
         */

        private UserModel user;
        private long value;
        private int rank;

        public UserModel getUser() {
            return user;
        }

        public void setUser(UserModel user) {
            this.user = user;
        }

        public long getValue() {
            return value;
        }

        public void setValue(long value) {
            this.value = value;
        }

        public int getRank() {
            return rank;
        }

        public void setRank(int rank) {
            this.rank = rank;
        }

    }
}
